package com.ctsi.ftp.util;

import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.PathFilter;

/**
 * Created by ye on 2016/3/25.
 */
public class FileFilter implements PathFilter {
    String sep = ".tmp";
    @Override
    public boolean accept(Path path) {
        if(!path.getName().endsWith(sep))
            return true;
        return false;
    }
}
